package com.sinocare.project.maintenance.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.sinocare.project.common.entity.SccRole;
import com.sinocare.project.common.entity.SncUserLogin;

import com.sinocare.project.maintenance.dao.SncUserLoginDao;
import com.sinocare.project.maintenance.service.SncUserLoginService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 用户登录表(SncUserLogin)表服务实现类
 *
 * @author makejava
 * @since 2021-12-20 19:09:43
 */
@Service("sncUserLoginService")
public class SncUserLoginServiceImpl extends ServiceImpl<SncUserLoginDao, SncUserLogin> implements SncUserLoginService {
@Resource
private SncUserLoginDao sncUserLoginDao;
    @Override
    public SccRole getByUserId(QueryWrapper<Object> wrapper) {
        return sncUserLoginDao.getByUserId(wrapper);
    }
}

